package com.shenfa.bean;

/**
 * 纸质/电子账单补制日志表映射类
 * 
 * @author 龙辰三
 * @date 2011-8-23
 * 
 */
public class Reprint {

	private int seq; // 序号
	private String reprint_id; // 补制编号
	private String card_prod_id; // 卡产品号
	private String business_id; // 帐号
	private String psn_name; // 持卡人姓名全称
	private String period; // 期别
	private String repair_type; // 补制类型
	private char mail_type; // 投递方式
	private char cancle; // 是否撤销 ;(0是1否)
	private String is_cost; // 是否计费
	private String is_addr; // 是否更新地址
	private String addprov; // 投递省份
	private String addciyt; // 投递城市
	private String addl1; // 投递地址
	private String addpost; // 投递邮编
	private String mobil; // 手机
	private String email; // EMAIL
	private char apply_date; // 申请日期 ;(账单补制申请日期)
	private char deal_result; // 处理结果 ;(账单合成结果)
	private char deal_date; // 处理日期 ;(账单合成日期)
	private char buildflg; // 生成标志
	private String businpnt_no; // 外包商编号
	private String feedback_result; // 外包商反馈结果
	private String feedback_date; // 外包商反馈日期
	private String remark;// 备注

	public Reprint() {
		super();
	}

	public Reprint(int seq, String reprintId, String cardProdId,
			String businessId, String psnName, String period,
			String repairType, char mailType, char cancle, String isCost,
			String isAddr, String addprov, String addciyt, String addl1,
			String addpost, String mobil, String email, char applyDate,
			char dealResult, char dealDate, char buildflg, String businpntNo,
			String feedbackResult, String feedbackDate, String remark) {
		super();
		this.seq = seq;
		reprint_id = reprintId;
		card_prod_id = cardProdId;
		business_id = businessId;
		psn_name = psnName;
		this.period = period;
		repair_type = repairType;
		mail_type = mailType;
		this.cancle = cancle;
		is_cost = isCost;
		is_addr = isAddr;
		this.addprov = addprov;
		this.addciyt = addciyt;
		this.addl1 = addl1;
		this.addpost = addpost;
		this.mobil = mobil;
		this.email = email;
		apply_date = applyDate;
		deal_result = dealResult;
		deal_date = dealDate;
		this.buildflg = buildflg;
		businpnt_no = businpntNo;
		feedback_result = feedbackResult;
		feedback_date = feedbackDate;
		this.remark = remark;
	}

	public int getSeq() {
		return seq;
	}

	public void setSeq(int seq) {
		this.seq = seq;
	}

	public String getReprint_id() {
		return reprint_id;
	}

	public void setReprint_id(String reprintId) {
		reprint_id = reprintId;
	}

	public String getCard_prod_id() {
		return card_prod_id;
	}

	public void setCard_prod_id(String cardProdId) {
		card_prod_id = cardProdId;
	}

	public String getBusiness_id() {
		return business_id;
	}

	public void setBusiness_id(String businessId) {
		business_id = businessId;
	}

	public String getPsn_name() {
		return psn_name;
	}

	public void setPsn_name(String psnName) {
		psn_name = psnName;
	}

	public String getPeriod() {
		return period;
	}

	public void setPeriod(String period) {
		this.period = period;
	}

	public String getRepair_type() {
		return repair_type;
	}

	public void setRepair_type(String repairType) {
		repair_type = repairType;
	}

	public char getMail_type() {
		return mail_type;
	}

	public void setMail_type(char mailType) {
		mail_type = mailType;
	}

	public char getCancle() {
		return cancle;
	}

	public void setCancle(char cancle) {
		this.cancle = cancle;
	}

	public String getIs_cost() {
		return is_cost;
	}

	public void setIs_cost(String isCost) {
		is_cost = isCost;
	}

	public String getIs_addr() {
		return is_addr;
	}

	public void setIs_addr(String isAddr) {
		is_addr = isAddr;
	}

	public String getAddprov() {
		return addprov;
	}

	public void setAddprov(String addprov) {
		this.addprov = addprov;
	}

	public String getAddciyt() {
		return addciyt;
	}

	public void setAddciyt(String addciyt) {
		this.addciyt = addciyt;
	}

	public String getAddl1() {
		return addl1;
	}

	public void setAddl1(String addl1) {
		this.addl1 = addl1;
	}

	public String getAddpost() {
		return addpost;
	}

	public void setAddpost(String addpost) {
		this.addpost = addpost;
	}

	public String getMobil() {
		return mobil;
	}

	public void setMobil(String mobil) {
		this.mobil = mobil;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public char getApply_date() {
		return apply_date;
	}

	public void setApply_date(char applyDate) {
		apply_date = applyDate;
	}

	public char getDeal_result() {
		return deal_result;
	}

	public void setDeal_result(char dealResult) {
		deal_result = dealResult;
	}

	public char getDeal_date() {
		return deal_date;
	}

	public void setDeal_date(char dealDate) {
		deal_date = dealDate;
	}

	public char getBuildflg() {
		return buildflg;
	}

	public void setBuildflg(char buildflg) {
		this.buildflg = buildflg;
	}

	public String getBusinpnt_no() {
		return businpnt_no;
	}

	public void setBusinpnt_no(String businpntNo) {
		businpnt_no = businpntNo;
	}

	public String getFeedback_result() {
		return feedback_result;
	}

	public void setFeedback_result(String feedbackResult) {
		feedback_result = feedbackResult;
	}

	public String getFeedback_date() {
		return feedback_date;
	}

	public void setFeedback_date(String feedbackDate) {
		feedback_date = feedbackDate;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((addciyt == null) ? 0 : addciyt.hashCode());
		result = prime * result + ((addl1 == null) ? 0 : addl1.hashCode());
		result = prime * result + ((addpost == null) ? 0 : addpost.hashCode());
		result = prime * result + ((addprov == null) ? 0 : addprov.hashCode());
		result = prime * result + apply_date;
		result = prime * result + buildflg;
		result = prime * result
				+ ((business_id == null) ? 0 : business_id.hashCode());
		result = prime * result
				+ ((businpnt_no == null) ? 0 : businpnt_no.hashCode());
		result = prime * result + cancle;
		result = prime * result
				+ ((card_prod_id == null) ? 0 : card_prod_id.hashCode());
		result = prime * result + deal_date;
		result = prime * result + deal_result;
		result = prime * result + ((email == null) ? 0 : email.hashCode());
		result = prime * result
				+ ((feedback_date == null) ? 0 : feedback_date.hashCode());
		result = prime * result
				+ ((feedback_result == null) ? 0 : feedback_result.hashCode());
		result = prime * result + ((is_addr == null) ? 0 : is_addr.hashCode());
		result = prime * result + ((is_cost == null) ? 0 : is_cost.hashCode());
		result = prime * result + mail_type;
		result = prime * result + ((mobil == null) ? 0 : mobil.hashCode());
		result = prime * result + ((period == null) ? 0 : period.hashCode());
		result = prime * result
				+ ((psn_name == null) ? 0 : psn_name.hashCode());
		result = prime * result + ((remark == null) ? 0 : remark.hashCode());
		result = prime * result
				+ ((repair_type == null) ? 0 : repair_type.hashCode());
		result = prime * result
				+ ((reprint_id == null) ? 0 : reprint_id.hashCode());
		result = prime * result + seq;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Reprint other = (Reprint) obj;
		if (addciyt == null) {
			if (other.addciyt != null)
				return false;
		} else if (!addciyt.equals(other.addciyt))
			return false;
		if (addl1 == null) {
			if (other.addl1 != null)
				return false;
		} else if (!addl1.equals(other.addl1))
			return false;
		if (addpost == null) {
			if (other.addpost != null)
				return false;
		} else if (!addpost.equals(other.addpost))
			return false;
		if (addprov == null) {
			if (other.addprov != null)
				return false;
		} else if (!addprov.equals(other.addprov))
			return false;
		if (apply_date != other.apply_date)
			return false;
		if (buildflg != other.buildflg)
			return false;
		if (business_id == null) {
			if (other.business_id != null)
				return false;
		} else if (!business_id.equals(other.business_id))
			return false;
		if (businpnt_no == null) {
			if (other.businpnt_no != null)
				return false;
		} else if (!businpnt_no.equals(other.businpnt_no))
			return false;
		if (cancle != other.cancle)
			return false;
		if (card_prod_id == null) {
			if (other.card_prod_id != null)
				return false;
		} else if (!card_prod_id.equals(other.card_prod_id))
			return false;
		if (deal_date != other.deal_date)
			return false;
		if (deal_result != other.deal_result)
			return false;
		if (email == null) {
			if (other.email != null)
				return false;
		} else if (!email.equals(other.email))
			return false;
		if (feedback_date == null) {
			if (other.feedback_date != null)
				return false;
		} else if (!feedback_date.equals(other.feedback_date))
			return false;
		if (feedback_result == null) {
			if (other.feedback_result != null)
				return false;
		} else if (!feedback_result.equals(other.feedback_result))
			return false;
		if (is_addr == null) {
			if (other.is_addr != null)
				return false;
		} else if (!is_addr.equals(other.is_addr))
			return false;
		if (is_cost == null) {
			if (other.is_cost != null)
				return false;
		} else if (!is_cost.equals(other.is_cost))
			return false;
		if (mail_type != other.mail_type)
			return false;
		if (mobil == null) {
			if (other.mobil != null)
				return false;
		} else if (!mobil.equals(other.mobil))
			return false;
		if (period == null) {
			if (other.period != null)
				return false;
		} else if (!period.equals(other.period))
			return false;
		if (psn_name == null) {
			if (other.psn_name != null)
				return false;
		} else if (!psn_name.equals(other.psn_name))
			return false;
		if (remark == null) {
			if (other.remark != null)
				return false;
		} else if (!remark.equals(other.remark))
			return false;
		if (repair_type == null) {
			if (other.repair_type != null)
				return false;
		} else if (!repair_type.equals(other.repair_type))
			return false;
		if (reprint_id == null) {
			if (other.reprint_id != null)
				return false;
		} else if (!reprint_id.equals(other.reprint_id))
			return false;
		if (seq != other.seq)
			return false;
		return true;
	}

}
